import request from '../utils/request'
// 搜索
export const search = data => request.get('/search',data)
// 获取用户搜索历史
export const histories = ()=> request.get('/search/histories')
//删除用户搜索历史
export const delhistories = ()=> request.delete('/search/histories')
// 获取联想建议（自动补全)
export const suggestion = data => request.get('/suggestion',data)